package com.atguigu.test2;

/**
 * @author 路飞
 * @date 2024/3/28 10:55
 * @description 11、请编写一个饿汉式单例设计模式
 */
public class Exer11 {
    private static final Exer11 instance = new Exer11();

    private Exer11() {

    }

    public static Exer11 getInstance() {
        return instance;
    }
}
